import { WeaInput,WeaLocaleProvider } from 'ecCom';
const getLabel = WeaLocaleProvider.getLabel;
export default class TextLength extends React.Component {
    render() {
        const { ...restProps } = this.props;
        return (
            <div className="ant-row">
                <label>{getLabel('698', '文本长度')}</label>
                <WeaInput ecId={`${this && this.props && this.props.ecId || ''}_WeaInput@ubbfyu`}
                    regExp={/^[1-9][0-9]{0,2}$/}
                    { ...restProps }
                    stringLength={3}
                />
            </div>
        )
    }
} 